#ifndef CUBE_MAPFORM_H_
#define CUBE_MAPFORM_H_

class MapForm
{
public :
	MapForm( int id, HWND hParent );
	~MapForm();

	void				DrawMap( BYTE flag );

	int					GetID(){ _id; }
	HWND				GetWindowHandle(){ return _hWnd; }

	void				SetMap( char** ppMap, int nGrid );

private :
	void				DrawSquare( HDC hdc, const Point& index, const Point& offset, float dx, float dy );

	std::vector< HWND >	_hBoxList;
	HWND				_hMapFrame;
	HWND				_hWnd;
	int					_nGrid;
	char*				_pMap[6];

	const HWND			_hParent;
	const int			_id;

};

#endif